<div id="content">
    <div id="page-heading"><h1>Tạo tài khoản</h1></div>
    <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
        <tr>
            <th rowspan="3" class="sized"><img src="<?= base_url(); ?>images/admin_img/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
            <th class="topleft"></th>
            <td id="tbl-border-top">&nbsp;</td>
            <th class="topright"></th>
            <th rowspan="3" class="sized"><img src="<?= base_url(); ?>images/admin_img/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
        </tr>
        <tr>
            <td id="tbl-border-left"></td>
            <td>
                <!--  start content-table-inner -->
                <div id="content-table-inner">
                    <div class="table-content">
                        <div class="ct-sp">
                            <div class="quay_lai"><a href="<?= base_url(); ?>dienhoa-administrator/account/view_profile">Thoát <img src="<?= base_url(); ?>images/cancel.png" width="18" height="18" class="cancel"/></a></div>
                            <form name="fSuaSp" method="post" enctype="multipart/form-data" action="<?= base_url(); ?>dienhoa-administrator/account/creat_acc">
                                <table>
                                    <tr>
                                        <th class="title_infor2">Form tạo tài khoản</th>
                                    </tr>
                                    <tr>
                                        <td class="col-infor">
                                            <table class="table_infor3">
                                                <tbody>
                                                    <tr>
                                                        <th>Họ và tên</th>
                                                        <td><input type="text" name="txtName"/><span class="errors"><? echo form_error("txtName"); ?></span></td>
                                                    <tr>
                                                        <th>Tên đăng nhập</th>
                                                        <td><input type="text" name="txtUser"/><span class="errors"><? echo form_error("txtUser"); ?></span></td>
                                                    <tr>
                                                    <tr>                                                        
                                                        <th>Mật khẩu</th>
                                                        <td><input type="password" name="txtPass"/><span class="errors"><? echo form_error("txtPass"); ?></span></td>
                                                    <tr>
                                                    <tr>                                                        
                                                        <th>Nhập mật khẩu</th>
                                                        <td><input type="password" name="txtRePass"/><span class="errors"><? echo form_error("txtRePass"); ?></span></td>
                                                    <tr>
                                                    <tr>                                                        
                                                        <th>Email</th>
                                                        <td><input type="text" name="txtEmail"/><span class="errors"><? echo form_error("txtEmail"); ?></span></td>
                                                    <tr>
                                                    <tr>                                                        
                                                        <th>Thuộc nhóm quản trị</th>
                                                        <td  class="colEdit">
                                                        <div class="styled-select">
                                                            <select name="optGroup" class="opt">
                                                                <? if ($group_admin): ?>
                                                                    <? foreach ($group_admin as $rows): ?>
                                                                <option value="<?= $rows->admin_group_id?>" <? echo set_select("optGroup", $rows->admin_group_id); ?>><?= $rows->admin_group_name;?></option>
                                                                    <? endforeach; ?>
                                                                <? endif; ?>
                                                            </select>
                                                        </div>
                                                        <span class="errors"><?echo form_error("optCat");?></span>
                                                    </td>
                                                    <tr>
                                                    <tr>
                                                        <td colspan="2" align="center"><input type="submit" value="Gửi" id="btnSua"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="Xóa" id="btnSua"/></td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </form>
                        </div>
                    </div>
                    <div class="clear"></div>
                </div>
                <!--  end content-table-inner  -->
            </td>
            <td id="tbl-border-right"></td>
        </tr>
        <tr>
            <th class="sized bottomleft"></th>
            <td id="tbl-border-bottom">&nbsp;</td>
            <th class="sized bottomright"></th>
        </tr>
    </table>

    <div class="clear">&nbsp;</div>
</div>
